package com.everest.tribalapp;



import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteDatabase.CursorFactory;
import android.database.sqlite.SQLiteOpenHelper;

public class SQLiteAdapter_Plik {

	public static final String MYDATABASE_NAME = "tribal_app_db_3";
	public static final String MYDATABASE_TABLE = "plik";
	public static final int MYDATABASE_VERSION = 1;
	public static final String KEY_ID = "_id";
	public static final String F1_1 = "f1_1";
	public static final String F1_2 = "f1_2";
	public static final String F1_3 = "f1_3";
	public static final String F1_4 = "f1_4";
	public static final String F1_5 = "f1_5";
	public static final String F1_6 = "f1_6";
	public static final String F2_1 = "f2_1";
	public static final String F2_2 = "f2_2";
	public static final String F2_3 = "f2_3";
	public static final String F2_4a1 = "f2_4a1";
	public static final String F2_4a2 = "f2_4a2";
	public static final String F2_4a3 = "f2_4a3";
	public static final String F2_4a4 = "f2_4a4";
	public static final String F2_4a5 = "f2_4a5";
	public static final String F2_4b1 = "f2_4b1";
	public static final String F2_4b2 = "f2_4b2";
	public static final String F2_4b3 = "f2_4b3";
	public static final String F2_4b4 = "f2_4b4";
	public static final String F2_4b5 = "f2_4b5";
	public static final String F2_4c1 = "f2_4c1";
	public static final String F2_4c2 = "f2_4c2";
	public static final String F2_4c3 = "f2_4c3";
	public static final String F2_4c4 = "f2_4c4";
	public static final String F2_4c5 = "f2_4c5";
	public static final String F3_1a = "f3_1a";
	public static final String F3_1b = "f3_1b";
	public static final String F3_2a11 = "f3_2a11";
	public static final String F3_2a12 = "f3_2a12";
	public static final String F3_2a13 = "f3_2a13";
	public static final String F3_2a14 = "f3_2a14";
	public static final String F3_2a15 = "f3_2a15";
	public static final String F3_2a16 = "f3_2a16";
	public static final String F3_2a21 = "f3_2a21";
	public static final String F3_2a22 = "f3_2a22";
	public static final String F3_2a23 = "f3_2a23";
	public static final String F3_2a24 = "f3_2a24";
	public static final String F3_2a25 = "f3_2a25";
	public static final String F3_2a26 = "f3_2a26";
	public static final String F3_2a31 = "f3_2a31";
	public static final String F3_2a32 = "f3_2a32";
	public static final String F3_2a33 = "f3_2a33";
	public static final String F3_2a34 = "f3_2a34";
	public static final String F3_2a35 = "f3_2a35";
	public static final String F3_2a36 = "f3_2a36";
	public static final String F3_2a41 = "f3_2a41";
	public static final String F3_2a42 = "f3_2a42";
	public static final String F3_2a43 = "f3_2a43";
	public static final String F3_2a44 = "f3_2a44";
	public static final String F3_2a45 = "f3_2a45";
	public static final String F3_2a46 = "f3_2a46";
	public static final String F3_2a51 = "f3_2a51";
	public static final String F3_2a52 = "f3_2a52";
	public static final String F3_2a53 = "f3_2a53";
	public static final String F3_2a54 = "f3_2a54";
	public static final String F3_2a55 = "f3_2a55";
	public static final String F3_2a56 = "f3_2a56";
	public static final String F3_2a61 = "f3_2a61";
	public static final String F3_2a62 = "f3_2a62";
	public static final String F3_2a63 = "f3_2a63";
	public static final String F3_2a64 = "f3_2a64";
	public static final String F3_2a65 = "f3_2a65";
	public static final String F3_2a66 = "f3_2a66";
	public static final String F3_2a71 = "f3_2a71";
	public static final String F3_2a72 = "f3_2a72";
	public static final String F3_2a73 = "f3_2a73";
	public static final String F3_2a74 = "f3_2a74";
	public static final String F3_2a75 = "f3_2a75";
	public static final String F3_2a76 = "f3_2a76";
	public static final String F3_2a8a1 = "f3_2a8a1";
	public static final String F3_2a8a2 = "f3_2a8a2";
	public static final String F3_2a8a3 = "f3_2a8a3";
	public static final String F3_2a8a4 = "f3_2a8a4";
	public static final String F3_2a8a5 = "f3_2a8a5";
	public static final String F3_2a8a6 = "f3_2a8a6";
	public static final String F3_2a8b1 = "f3_2a8b1";
	public static final String F3_2a8b2 = "f3_2a8b2";
	public static final String F3_2a8b3 = "f3_2a8b3";
	public static final String F3_2a8b4 = "f3_2a8b4";
	public static final String F3_2a8b5 = "f3_2a8b5";
	public static final String F3_2a8b6 = "f3_2a8b6";
	public static final String F3_2a91 = "f3_2a91";
	public static final String F3_2a92 = "f3_2a92";
	public static final String F3_2a93 = "f3_2a93";
	public static final String F3_2a94 = "f3_2a94";
	public static final String F3_2a95 = "f3_2a95";
	public static final String F3_2a96 = "f3_2a96";
	public static final String F3_2a101 = "f3_2a101";
	public static final String F3_2a102 = "f3_2a102";
	public static final String F3_2a103 = "f3_2a103";
	public static final String F3_2a104 = "f3_2a104";
	public static final String F3_2a105 = "f3_2a105";
	public static final String F3_2a106 = "f3_2a106";
	public static final String F3_2b1a1 = "f3_2b1a1";
	public static final String F3_2b1a2 = "f3_2b1a2";
	public static final String F3_2b1a3 = "f3_2b1a3";
	public static final String F3_2b1a4 = "f3_2b1a4";
	public static final String F3_2b1a5 = "f3_2b1a5";
	public static final String F3_2b1a6 = "f3_2b1a6";
	public static final String F3_2b1b1 = "f3_2b1b1";
	public static final String F3_2b1b2 = "f3_2b1b2";
	public static final String F3_2b1b3 = "f3_2b1b3";
	public static final String F3_2b1b4 = "f3_2b1b4";
	public static final String F3_2b1b5 = "f3_2b1b5";
	public static final String F3_2b1b6 = "f3_2b1b6";
	public static final String F3_2b21 = "f3_2b21";
	public static final String F3_2b22 = "f3_2b22";
	public static final String F3_2b23 = "f3_2b23";
	public static final String F3_2b24 = "f3_2b24";
	public static final String F3_2b25 = "f3_2b25";
	public static final String F3_2b26 = "f3_2b26";
	public static final String F3_2b31 = "f3_2b31";
	public static final String F3_2b32 = "f3_2b32";
	public static final String F3_2b33 = "f3_2b33";
	public static final String F3_2b34 = "f3_2b34";
	public static final String F3_2b35 = "f3_2b35";
	public static final String F3_2b36 = "f3_2b36";
	public static final String F3_2c11 = "f3_2c11";
	public static final String F3_2c12 = "f3_2c12";
	public static final String F3_2c13 = "f3_2c13";
	public static final String F3_2c14 = "f3_2c14";
	public static final String F3_2c15 = "f3_2c15";
	public static final String F3_2c16 = "f3_2c16";
	public static final String F3_2c21 = "f3_2c21";
	public static final String F3_2c22 = "f3_2c22";
	public static final String F3_2c23 = "f3_2c23";
	public static final String F3_2c24 = "f3_2c24";
	public static final String F3_2c25 = "f3_2c25";
	public static final String F3_2c26 = "f3_2c26";
	public static final String F3_2c31 = "f3_2c31";
	public static final String F3_2c32 = "f3_2c32";
	public static final String F3_2c33 = "f3_2c33";
	public static final String F3_2c34 = "f3_2c34";
	public static final String F3_2c35 = "f3_2c35";
	public static final String F3_2c36 = "f3_2c36";
	public static final String F3_2c41 = "f3_2c41";
	public static final String F3_2c42 = "f3_2c42";
	public static final String F3_2c43 = "f3_2c43";
	public static final String F3_2c44 = "f3_2c44";
	public static final String F3_2c45 = "f3_2c45";
	public static final String F3_2c46 = "f3_2c46";
	public static final String F3_2c51 = "f3_2c51";
	public static final String F3_2c52 = "f3_2c52";
	public static final String F3_2c53 = "f3_2c53";
	public static final String F3_2c54 = "f3_2c54";
	public static final String F3_2c55 = "f3_2c55";
	public static final String F3_2c56 = "f3_2c56";
	public static final String F3_2c61 = "f3_2c61";
	public static final String F3_2c62 = "f3_2c62";
	public static final String F3_2c63 = "f3_2c63";
	public static final String F3_2c64 = "f3_2c64";
	public static final String F3_2c65 = "f3_2c65";
	public static final String F3_2c66 = "f3_2c66";
	public static final String F3_2c71 = "f3_2c71";
	public static final String F3_2c72 = "f3_2c72";
	public static final String F3_2c73 = "f3_2c73";
	public static final String F3_2c74 = "f3_2c74";
	public static final String F3_2c75 = "f3_2c75";
	public static final String F3_2c76 = "f3_2c76";
	public static final String F3_3 = "f3_3";
	public static final String F3_4 = "f3_4";
	public static final String F3_5a = "f3_5a";
	public static final String F3_5b = "f3_5b";
	public static final String F3_5c = "f3_5c";
	public static final String F3_5d = "f3_5d";
	public static final String F3_6 = "f3_6";
	public static final String F3_7a = "f3_7a";
	public static final String F3_7b = "f3_7b";
	public static final String F3_8 = "f3_8";
	public static final String F3_9 = "f3_9";
	public static final String F3_10 = "f3_10";
	public static final String F3_11a = "f3_11a";
	public static final String F3_11b = "f3_11b";
	public static final String F3_11c = "f3_11c";
	public static final String F3_11d = "f3_11d";
	public static final String F3_11e = "f3_11e";
	public static final String F3_12 = "f3_12";
	public static final String F3_13a = "f3_13a";
	public static final String F3_13b = "f3_13b";
	public static final String F3_13c = "f3_13c";
	public static final String F3_14a = "f3_14a";
	public static final String F3_14b = "f3_14b";
	public static final String F3_14c = "f3_14c";
	public static final String F3_14d = "f3_14d";
	public static final String F4_1 = "f4_1";
	public static final String F4_2aa = "f4_2aa";
	public static final String F4_2ab = "f4_2ab";
	public static final String F4_2ac = "f4_2ac";
	public static final String F4_2ad = "f4_2ad";
	public static final String F4_2ae = "f4_2ae";
	public static final String F4_2af = "f4_2af";
	public static final String F4_2ag = "f4_2ag";
	public static final String F4_2b = "f4_2b";
	public static final String F4_3 = "f4_3";
	public static final String F4_4 = "f4_4";
	public static final String F4_5 = "f4_5";
	public static final String F4_6 = "f4_6";
	public static final String F4_7 = "f4_7";
	public static final String F4_8 = "f4_8";
	public static final String F4_9 = "f4_9";
	public static final String F4_10 = "f4_10";
	public static final String F4_11 = "f4_11";
	public static final String F4_12a = "f4_12a";
	public static final String F4_12b = "f4_12b";
	public static final String F4_12c = "f4_12c";
	public static final String F4_13 = "f4_13";
	public static final String F4_14a = "f4_14a";
	public static final String F4_14b = "f4_14b";
	public static final String F4_15a = "f4_15a";
	public static final String F4_15b = "f4_15b";
	public static final String F4_16 = "f4_16";
	public static final String F4_17a = "f4_17a";
	public static final String F4_17b = "f4_17b";
	public static final String F4_18 = "f4_18";
	public static final String F4_19 = "f4_19";
	public static final String F4_20 = "f4_20";
	public static final String F4_21aa = "f4_21aa";
	public static final String F4_21ab = "f4_21ab";
	public static final String F4_21ac = "f4_21ac";
	public static final String F4_21ad = "f4_21ad";
	public static final String F4_21b = "f4_21b";
	public static final String F4_22 = "f4_22";
	public static final String F4_23a = "f4_23a";
	public static final String F4_23b = "f4_23b";
	public static final String F4_23c = "f4_23c";
	public static final String F4_23d = "f4_23d";
	public static final String F4_23e = "f4_23e";
	public static final String F4_23f = "f4_23f";
	public static final String F5_1 = "f5_1";
	public static final String F5_2 = "f5_2";
	public static final String F5_3 = "f5_3";
	public static final String F5_4 = "f5_4";
	public static final String F5_5a = "f5_5a";
	public static final String F5_5b = "f5_5b";
	public static final String F5_5c = "f5_5c";
	public static final String F5_5d = "f5_5d";
	public static final String F5_6 = "f5_6";
	public static final String F5_7a = "f5_7a";
	public static final String F5_7b = "f5_7b";
	public static final String F5_8 = "f5_8";
	public static final String F5_9a = "f5_9a";
	public static final String F5_9b = "f5_9b";
	public static final String F5_9c = "f5_9c";
	public static final String F5_9d= "f5_9d";
	public static final String F5_10 = "f5_10";
	public static final String F5_11 = "f5_11";
	public static final String F5_12 = "f5_12";
	public static final String F5_13a = "f5_13a";
	public static final String F5_13b = "f5_13b";
	public static final String F5_13c = "f5_13c";
	public static final String F5_13d = "f5_13d";
	public static final String F5_13e = "f5_13e";
	public static final String F5_13f = "f5_13f";
	public static final String F5_13g = "f5_13g";
	public static final String F5_13h = "f5_13h";
	public static final String F5_13i = "f5_13i";
	public static final String F5_13j = "f5_13j";
	public static final String F5_13k = "f5_13k";
	public static final String F5_13l = "f5_13l";
	public static final String F5_13m = "f5_13m";
	public static final String F5_13n = "f5_13n";
	public static final String F6_1a = "f6_1a";
	public static final String F6_1b = "f6_1b";
	public static final String F6_2a = "f6_2a";
	public static final String F6_2b = "f6_2b";
	public static final String F6_3 = "f6_3";
	public static final String F7_1 = "f7_1";
	public static final String F7_2a = "f7_2a";
	public static final String F7_2b = "f7_2b";
	public static final String F7_3a = "f7_3a";
	public static final String F7_3b = "f7_3b";
	public static final String F7_3c = "f7_3c";
	public static final String F7_3d = "f7_3d";
	public static final String F7_3e = "f7_3e";
	public static final String F7_3f = "f7_3f";
	public static final String F8_1 = "f8_1";
	public static final String F8_2 = "f8_2";
	public static final String F8_3 = "f8_3";
	public static final String F8_4 = "f8_4";
	public static final String F8_5 = "f8_5";
	public static final String F8_6 = "f8_6";
	public static final String F8_7 = "f8_7";
	public static final String F8_8 = "f8_8";
	public static final String F8_YEAR = "f8_year";
	private static final String SCRIPT_CREATE_DATABASE =
		"create table " + MYDATABASE_TABLE + " ("
		+ KEY_ID + " integer primary key autoincrement, "+ F1_1 + " text, "+ F1_2 + " text, "+ F1_3 + " text, "+ F1_4 + " text, "+ F1_5 + " text, "+ F1_6 + " text, "
				+ F2_1 + " text, "+ F2_2 + " text, "+ F2_3 + " text, "+ F2_4a1 + " text, "+ F2_4a2 + " text, "+ F2_4a3 + " text, "+ F2_4a4 + " text, "+ F2_4a5+ " text, "+ F2_4b1 + " text, "+ F2_4b2 + " text, "+ F2_4b3 + " text, "+ F2_4b4 + " text, "+ F2_4b5 + " text, "+ F2_4c1 + " text, "+ F2_4c2 + " text, "+ F2_4c3 + " text, "+ F2_4c4 + " text, "+ F2_4c5 + " text, "
		+ F3_1a + " text, "+ F3_1b + " text, "+ F3_2a11 + " text, "+ F3_2a12 + " text, "+ F3_2a13 + " text, "+ F3_2a14 + " text, "+ F3_2a15 + " text, "+ F3_2a16 + " text, "+ F3_2a21 + " text, "+ F3_2a22 + " text, "+ F3_2a23 + " text, "+ F3_2a24 + " text, "+ F3_2a25 + " text, "+ F3_2a26 + " text, "+ F3_2a31 + " text, "+ F3_2a32 + " text, "+ F3_2a33 + " text, "+ F3_2a34 + " text, "+ F3_2a35 + " text, "+ F3_2a36 + " text, "+ F3_2a41 + " text, "+ F3_2a42 + " text, "+ F3_2a43 + " text, "+ F3_2a44 + " text, "+ F3_2a45 + " text, "+ F3_2a46 + " text, "+ F3_2a51 + " text, "+ F3_2a52 + " text, "+ F3_2a53 + " text, "+ F3_2a54 + " text, "+ F3_2a55 + " text, "+ F3_2a56 + " text, "+ F3_2a61 + " text, "+ F3_2a62 + " text, "+ F3_2a63 + " text, "+ F3_2a64 + " text, "+ F3_2a65 + " text, "+ F3_2a66 + " text, "+ F3_2a71 + " text, "+ F3_2a72 + " text, "+ F3_2a73 + " text, "+ F3_2a74 + " text, "+ F3_2a75 + " text, "+ F3_2a76 + " text, "+ F3_2a8a1 + " text, "+ F3_2a8a2 + " text, "+ F3_2a8a3 + " text, "+ F3_2a8a4 + " text, "+ F3_2a8a5 + " text, "+ F3_2a8a6 + " text, "+ F3_2a8b1 + " text, "+ F3_2a8b2 + " text, "+ F3_2a8b3 + " text, "+ F3_2a8b4 + " text, "+ F3_2a8b5 + " text, "+ F3_2a8b6 + " text, "+ F3_2a91 + " text, "+ F3_2a92 + " text, "+ F3_2a93 + " text, "+ F3_2a94 + " text, "+ F3_2a95 + " text, "+ F3_2a96 + " text, "+ F3_2a101 + " text, "+ F3_2a102 + " text, "+ F3_2a103 + " text, "+ F3_2a104 + " text, "+ F3_2a105 + " text, "+ F3_2a106 + " text, "+ F3_2b21 + " text, "+ F3_2b22 + " text, "+ F3_2b23 + " text, "+ F3_2b24 + " text, "+ F3_2b25 + " text, "+ F3_2b26 + " text, "+ F3_2b31 + " text, "+ F3_2b32 + " text, "+ F3_2b33 + " text, "+ F3_2b34 + " text, "+ F3_2b35 + " text, "+ F3_2b36 + " text, "+ F3_2b1a1 + " text, "+ F3_2b1a2 + " text, "+ F3_2b1a3 + " text, "+ F3_2b1a4 + " text, "+ F3_2b1a5 + " text, "+ F3_2b1a6 + " text, "+ F3_2b1b1 + " text, "+ F3_2b1b2 + " text, "+ F3_2b1b3 + " text, "+ F3_2b1b4 + " text, "+ F3_2b1b5 + " text, "+ F3_2b1b6 + " text, " + F3_2c11 + " text, "+ F3_2c12 + " text, "+ F3_2c13 + " text, "+ F3_2c14 + " text, "+ F3_2c15 + " text, "+ F3_2c16 + " text, " + F3_2c21 + " text, "+ F3_2c22 + " text, "+ F3_2c23 + " text, "+ F3_2c24 + " text, "+ F3_2c25 + " text, "+ F3_2c26 + " text, "+ F3_2c31 + " text, "+ F3_2c32 + " text, "+ F3_2c33 + " text, "+ F3_2c34 + " text, "+ F3_2c35 + " text, "+ F3_2c36 + " text, "+ F3_2c41 + " text, "+ F3_2c42 + " text, "+ F3_2c43 + " text, "+ F3_2c44 + " text, "+ F3_2c45 + " text, "+ F3_2c46 + " text, "+ F3_2c51 + " text, "+ F3_2c52 + " text, "+ F3_2c53 + " text, "+ F3_2c54 + " text, "+ F3_2c55 + " text, "+ F3_2c56 + " text, "+ F3_2c61 + " text, "+ F3_2c62 + " text, "+ F3_2c63 + " text, "+ F3_2c64 + " text, "+ F3_2c65 + " text, "+ F3_2c66 + " text, "+ F3_2c71 + " text, "+ F3_2c72 + " text, "+ F3_2c73 + " text, "+ F3_2c74 + " text, "+ F3_2c75 + " text, "+ F3_2c76 + " text, "+ F3_3 + " text, "+ F3_4 + " text, "+ F3_5a + " text, "+ F3_5b + " text, "+ F3_5c + " text, "+ F3_5d + " text, "+ F3_6 + " text, "+ F3_7a + " text, "+ F3_7b + " text, "+ F3_8 + " text, "+ F3_9 + " text, "+ F3_10 + " text, "+ F3_11a + " text, "+ F3_11b + " text, "+ F3_11c + " text, "+ F3_11d + " text, "+ F3_11e + " text, "+ F3_12 + " text, "+ F3_13a + " text, "+ F3_13b + " text, "+ F3_13c + " text, "+ F3_14a + " text, "+ F3_14b + " text, "+ F3_14c + " text, "+ F3_14d + " text, "
				+ F4_1 + " text, "+ F4_2aa + " text, "+ F4_2ab + " text, "+ F4_2ac + " text, "+ F4_2ad + " text, "+ F4_2ae + " text, "+ F4_2af + " text, "+ F4_2ag + " text, "+ F4_2b + " text, "+ F4_3 + " text, "+ F4_4 + " text, "+ F4_5 + " text, "+ F4_6 + " text, "+ F4_7 + " text, "+ F4_8 + " text, "+ F4_9 + " text, "+ F4_10 + " text, "+ F4_11 + " text, "+ F4_12a + " text, "+ F4_12b + " text, "+ F4_12c + " text, "+ F4_13 + " text, "+ F4_14a + " text, "+ F4_14b + " text, "+ F4_15a + " text, "+ F4_15b + " text, "+ F4_16 + " text, "+ F4_17a + " text, "+ F4_17b + " text, "+ F4_18 + " text, "+ F4_19 + " text, "+ F4_20 + " text, "+ F4_21aa + " text, "+ F4_21ab + " text, "+ F4_21ac + " text, "+ F4_21ad + " text, "+ F4_21b + " text, "+ F4_22 + " text, "+ F4_23a + " text, "+ F4_23b + " text, "+ F4_23c + " text, "+ F4_23d + " text, "+ F4_23e + " text, "+ F4_23f + " text, "
		+ F5_1 + " text, "+ F5_2 + " text, "+ F5_3 + " text, "+ F5_4 + " text, "+ F5_5a + " text, "+ F5_5b + " text, "+ F5_5c + " text, "+ F5_5d + " text, "+ F5_6 + " text, "+ F5_7a + " text, "+ F5_7b + " text, "+ F5_8 + " text, "+ F5_9a + " text, "+ F5_9b + " text, "+ F5_9c + " text, "+ F5_9d + " text, "+ F5_10 + " text, "+ F5_11 + " text, "+ F5_12 + " text, "+ F5_13a + " text, "+ F5_13b + " text, "+ F5_13c + " text, "+ F5_13d + " text, "+ F5_13e + " text, "+ F5_13f + " text, "+ F5_13g + " text, "+ F5_13h + " text, "+ F5_13i + " text, "+ F5_13j + " text, "+ F5_13k + " text, "+ F5_13l + " text, "+ F5_13m + " text, "+ F5_13n + " text, "
				+ F6_1a + " text, "+ F6_1b + " text, "+ F6_2a + " text, "+ F6_2b + " text, "+ F6_3 + " text, "
		+ F7_1 + " text, "+ F7_2a + " text, "+ F7_2b + " text, "+ F7_3a + " text, "+ F7_3b + " text, "+ F7_3c + " text, "+ F7_3d + " text, "+ F7_3e + " text, "+ F7_3f + " text, "
				+ F8_1 + " text, "+ F8_2 + " text, "+ F8_3 + " text, "+ F8_4 + " text, "+ F8_5 + " text, "+ F8_6 + " text, "+ F8_7 + " text, "+ F8_8 + " text,"+ F8_YEAR + " text );";
	
	private SQLiteHelper sqLiteHelper;
	private SQLiteDatabase sqLiteDatabase;
	private Context context;
	
	public SQLiteAdapter_Plik(Context c)
	{
		context = c;
	}
	
	public SQLiteAdapter_Plik openToRead() throws android.database.SQLException 
	{
		sqLiteHelper = new SQLiteHelper(context, MYDATABASE_NAME, null, MYDATABASE_VERSION);
		sqLiteDatabase = sqLiteHelper.getReadableDatabase();
		return this;	
	}
	
	public SQLiteAdapter_Plik openToWrite() throws android.database.SQLException 
	{
		sqLiteHelper = new SQLiteHelper(context, MYDATABASE_NAME, null, MYDATABASE_VERSION);
		sqLiteDatabase = sqLiteHelper.getWritableDatabase();
		return this;	
	}
	
	public void close()
	{
		sqLiteHelper.close();
	}
	public int delete(String  a)
	{
		return sqLiteDatabase.delete(MYDATABASE_TABLE, KEY_ID+"=?", new String[] {a});
	}
	public long insert(String PLIK_F1_1,String PLIK_F1_2,String PLIK_F1_3,String PLIK_F1_4,String PLIK_F1_5,String PLIK_F1_6,
			String PLIK_F2_1,String PLIK_F2_2,String PLIK_F2_3,String PLIK_F2_4a1,String PLIK_F2_4a2,String PLIK_F2_4a3,String PLIK_F2_4a4,String PLIK_F2_4a5,String PLIK_F2_4b1,String PLIK_F2_4b2,String PLIK_F2_4b3,String PLIK_F2_4b4,String PLIK_F2_4b5,String PLIK_F2_4c1,String PLIK_F2_4c2,String PLIK_F2_4c3,String PLIK_F2_4c4,String PLIK_F2_4c5,
			String PLIK_F3_1a,String PLIK_F3_1b,String PLIK_F3_2a11,String PLIK_F3_2a12,String PLIK_F3_2a13,String PLIK_F3_2a14,String PLIK_F3_2a15,String PLIK_F3_2a16,String PLIK_F3_2a21,String PLIK_F3_2a22,String PLIK_F3_2a23,String PLIK_F3_2a24,String PLIK_F3_2a25,String PLIK_F3_2a26,String PLIK_F3_2a31,String PLIK_F3_2a32,String PLIK_F3_2a33,String PLIK_F3_2a34,String PLIK_F3_2a35,String PLIK_F3_2a36,String PLIK_F3_2a41,String PLIK_F3_2a42,String PLIK_F3_2a43,String PLIK_F3_2a44,String PLIK_F3_2a45,String PLIK_F3_2a46,String PLIK_F3_2a51,String PLIK_F3_2a52,String PLIK_F3_2a53,String PLIK_F3_2a54,String PLIK_F3_2a55,String PLIK_F3_2a56,String PLIK_F3_2a61,String PLIK_F3_2a62,String PLIK_F3_2a63,String PLIK_F3_2a64,String PLIK_F3_2a65,String PLIK_F3_2a66,String PLIK_F3_2a71,String PLIK_F3_2a72,String PLIK_F3_2a73,String PLIK_F3_2a74,String PLIK_F3_2a75,String PLIK_F3_2a76,String PLIK_F3_2a8a1,String PLIK_F3_2a8a2,String PLIK_F3_2a8a3,String PLIK_F3_2a8a4,String PLIK_F3_2a8a5,String PLIK_F3_2a8a6,String PLIK_F3_2a8b1,String PLIK_F3_2a8b2,String PLIK_F3_2a8b3,String PLIK_F3_2a8b4,String PLIK_F3_2a8b5,String PLIK_F3_2a8b6,String PLIK_F3_2a91,String PLIK_F3_2a92,String PLIK_F3_2a93,String PLIK_F3_2a94,String PLIK_F3_2a95,String PLIK_F3_2a96,String PLIK_F3_2a101,String PLIK_F3_2a102,String PLIK_F3_2a103,String PLIK_F3_2a104,String PLIK_F3_2a105,String PLIK_F3_2a106,String PLIK_F3_2b1a1,String PLIK_F3_2b1a2,String PLIK_F3_2b1a3,String PLIK_F3_2b1a4,String PLIK_F3_2b1a5,String PLIK_F3_2b1a6,String PLIK_F3_2b1b1,String PLIK_F3_2b1b2,String PLIK_F3_2b1b3,String PLIK_F3_2b1b4,String PLIK_F3_2b1b5,String PLIK_F3_2b1b6,String PLIK_F3_2b21,String PLIK_F3_2b22,String PLIK_F3_2b23,String PLIK_F3_2b24,String PLIK_F3_2b25,String PLIK_F3_2b26,String PLIK_F3_2b31,String PLIK_F3_2b32,String PLIK_F3_2b33,String PLIK_F3_2b34,String PLIK_F3_2b35,String PLIK_F3_2b36,String PLIK_F3_2c11,String PLIK_F3_2c12,String PLIK_F3_2c13,String PLIK_F3_2c14,String PLIK_F3_2c15,String PLIK_F3_2c16,String PLIK_F3_2c21,String PLIK_F3_2c22,String PLIK_F3_2c23,String PLIK_F3_2c24,String PLIK_F3_2c25,String PLIK_F3_2c26,String PLIK_F3_2c31,String PLIK_F3_2c32,String PLIK_F3_2c33,String PLIK_F3_2c34,String PLIK_F3_2c35,String PLIK_F3_2c36,String PLIK_F3_2c41,String PLIK_F3_2c42,String PLIK_F3_2c43,String PLIK_F3_2c44,String PLIK_F3_2c45,String PLIK_F3_2c46,String PLIK_F3_2c51,String PLIK_F3_2c52,String PLIK_F3_2c53,String PLIK_F3_2c54,String PLIK_F3_2c55,String PLIK_F3_2c56,String PLIK_F3_2c61,String PLIK_F3_2c62,String PLIK_F3_2c63,String PLIK_F3_2c64,String PLIK_F3_2c65,String PLIK_F3_2c66,String PLIK_F3_2c71,String PLIK_F3_2c72,String PLIK_F3_2c73,String PLIK_F3_2c74,String PLIK_F3_2c75,String PLIK_F3_2c76,String PLIK_F3_3,String PLIK_F3_4,String PLIK_F3_5a,String PLIK_F3_5b,String PLIK_F3_5c,String PLIK_F3_5d,String PLIK_F3_6,String PLIK_F3_7a,String PLIK_F3_7b,String PLIK_F3_8,String PLIK_F3_9,String PLIK_F3_10,String PLIK_F3_11a,String PLIK_F3_11b,String PLIK_F3_11c,String PLIK_F3_11d,String PLIK_F3_11e,String PLIK_F3_12,String PLIK_F3_13a,String PLIK_F3_13b,String PLIK_F3_13c,String PLIK_F3_14a,String PLIK_F3_14b,String PLIK_F3_14c,String PLIK_F3_14d, 
			String PLIK_F4_1,String PLIK_F4_2aa,String PLIK_F4_2ab,String PLIK_F4_2ac,String PLIK_F4_2ad,String PLIK_F4_2ae,String PLIK_F4_2af,String PLIK_F4_2ag,String PLIK_F4_2b,String PLIK_F4_3,String PLIK_F4_4,String PLIK_F4_5,String PLIK_F4_6,String PLIK_F4_7,String PLIK_F4_8,String PLIK_F4_9,String PLIK_F4_10,String PLIK_F4_11,String PLIK_F4_12a,String PLIK_F4_12b,String PLIK_F4_12c,String PLIK_F4_13,String PLIK_F4_14a,String PLIK_F4_14b,String PLIK_F4_15a,String PLIK_F4_15b,String PLIK_F4_16,String PLIK_F4_17a,String PLIK_F4_17b,String PLIK_F4_18,String PLIK_F4_19,String PLIK_F4_20,String PLIK_F4_21aa,String PLIK_F4_21ab,String PLIK_F4_21ac,String PLIK_F4_21ad,String PLIK_F4_21b,String PLIK_F4_22,String PLIK_F4_23a,String PLIK_F4_23b,String PLIK_F4_23c,String PLIK_F4_23d,String PLIK_F4_23e,String PLIK_F4_23f
			)
	{
		ContentValues contentValues = new ContentValues();
		contentValues.put("f1_1",PLIK_F1_1);
		contentValues.put("f1_2",PLIK_F1_2);
		contentValues.put("f1_3",PLIK_F1_3);
		contentValues.put("f1_4",PLIK_F1_4);
		contentValues.put("f1_5",PLIK_F1_5);
		contentValues.put("f1_6",PLIK_F1_6);
		contentValues.put("f2_1",PLIK_F2_1);
		contentValues.put("f2_2",PLIK_F2_2);
		contentValues.put("f2_3",PLIK_F2_3);
		contentValues.put("f2_4a1",PLIK_F2_4a1);
		contentValues.put("f2_4a2",PLIK_F2_4a2);
		contentValues.put("f2_4a3",PLIK_F2_4a3);
		contentValues.put("f2_4a4",PLIK_F2_4a4);
		contentValues.put("f2_4a5",PLIK_F2_4a5);
		contentValues.put("f2_4b1",PLIK_F2_4b1);
		contentValues.put("f2_4b2",PLIK_F2_4b2);
		contentValues.put("f2_4b3",PLIK_F2_4b3);
		contentValues.put("f2_4b4",PLIK_F2_4b4);
		contentValues.put("f2_4b5",PLIK_F2_4b5);
		contentValues.put("f2_4c1",PLIK_F2_4c1);
		contentValues.put("f2_4c2",PLIK_F2_4c2);
		contentValues.put("f2_4c3",PLIK_F2_4c3);
		contentValues.put("f2_4c4",PLIK_F2_4c4);
		contentValues.put("f2_4c5",PLIK_F2_4c5);
		contentValues.put("f3_1a",PLIK_F3_1a);
		contentValues.put("f3_1b",PLIK_F3_1b);
		contentValues.put("f3_2a11",PLIK_F3_2a11);
		contentValues.put("f3_2a12",PLIK_F3_2a12);
		contentValues.put("f3_2a13",PLIK_F3_2a13);
		contentValues.put("f3_2a14",PLIK_F3_2a14);
		contentValues.put("f3_2a15",PLIK_F3_2a15);
		contentValues.put("f3_2a16",PLIK_F3_2a16);
		contentValues.put("f3_2a21",PLIK_F3_2a21);
		contentValues.put("f3_2a22",PLIK_F3_2a22);
		contentValues.put("f3_2a23",PLIK_F3_2a23);
		contentValues.put("f3_2a24",PLIK_F3_2a24);
		contentValues.put("f3_2a25",PLIK_F3_2a25);
		contentValues.put("f3_2a26",PLIK_F3_2a26);
		contentValues.put("f3_2a31",PLIK_F3_2a31);
		contentValues.put("f3_2a32",PLIK_F3_2a32);
		contentValues.put("f3_2a33",PLIK_F3_2a33);
		contentValues.put("f3_2a34",PLIK_F3_2a34);
		contentValues.put("f3_2a35",PLIK_F3_2a35);
		contentValues.put("f3_2a36",PLIK_F3_2a36);
		contentValues.put("f3_2a41",PLIK_F3_2a41);
		contentValues.put("f3_2a42",PLIK_F3_2a42);
		contentValues.put("f3_2a43",PLIK_F3_2a43);
		contentValues.put("f3_2a44",PLIK_F3_2a44);
		contentValues.put("f3_2a45",PLIK_F3_2a45);
		contentValues.put("f3_2a46",PLIK_F3_2a46);
		contentValues.put("f3_2a51",PLIK_F3_2a51);
		contentValues.put("f3_2a52",PLIK_F3_2a52);
		contentValues.put("f3_2a53",PLIK_F3_2a53);
		contentValues.put("f3_2a54",PLIK_F3_2a54);
		contentValues.put("f3_2a55",PLIK_F3_2a55);
		contentValues.put("f3_2a56",PLIK_F3_2a56);
		contentValues.put("f3_2a61",PLIK_F3_2a61);
		contentValues.put("f3_2a62",PLIK_F3_2a62);
		contentValues.put("f3_2a63",PLIK_F3_2a63);
		contentValues.put("f3_2a64",PLIK_F3_2a64);
		contentValues.put("f3_2a65",PLIK_F3_2a65);
		contentValues.put("f3_2a66",PLIK_F3_2a66);
		contentValues.put("f3_2a71",PLIK_F3_2a71);
		contentValues.put("f3_2a72",PLIK_F3_2a72);
		contentValues.put("f3_2a73",PLIK_F3_2a73);
		contentValues.put("f3_2a74",PLIK_F3_2a74);
		contentValues.put("f3_2a75",PLIK_F3_2a75);
		contentValues.put("f3_2a76",PLIK_F3_2a76);
		contentValues.put("f3_2a8a1",PLIK_F3_2a8a1);
		contentValues.put("f3_2a8a2",PLIK_F3_2a8a2);
		contentValues.put("f3_2a8a3",PLIK_F3_2a8a3);
		contentValues.put("f3_2a8a4",PLIK_F3_2a8a4);
		contentValues.put("f3_2a8a5",PLIK_F3_2a8a5);
		contentValues.put("f3_2a8a6",PLIK_F3_2a8a6);
		contentValues.put("f3_2a8b1",PLIK_F3_2a8b1);
		contentValues.put("f3_2a8b2",PLIK_F3_2a8b2);
		contentValues.put("f3_2a8b3",PLIK_F3_2a8b3);
		contentValues.put("f3_2a8b4",PLIK_F3_2a8b4);
		contentValues.put("f3_2a8b5",PLIK_F3_2a8b5);
		contentValues.put("f3_2a8b6",PLIK_F3_2a8b6);
		contentValues.put("f3_2a91",PLIK_F3_2a91);
		contentValues.put("f3_2a92",PLIK_F3_2a92);
		contentValues.put("f3_2a93",PLIK_F3_2a93);
		contentValues.put("f3_2a94",PLIK_F3_2a94);
		contentValues.put("f3_2a95",PLIK_F3_2a95);
		contentValues.put("f3_2a96",PLIK_F3_2a96);
		contentValues.put("f3_2a101",PLIK_F3_2a101);
		contentValues.put("f3_2a102",PLIK_F3_2a102);
		contentValues.put("f3_2a103",PLIK_F3_2a103);
		contentValues.put("f3_2a104",PLIK_F3_2a104);
		contentValues.put("f3_2a105",PLIK_F3_2a105);
		contentValues.put("f3_2a106",PLIK_F3_2a106);
		contentValues.put("f3_2b1a1",PLIK_F3_2b1a1);
		contentValues.put("f3_2b1a2",PLIK_F3_2b1a2);
		contentValues.put("f3_2b1a3",PLIK_F3_2b1a3);
		contentValues.put("f3_2b1a4",PLIK_F3_2b1a4);
		contentValues.put("f3_2b1a5",PLIK_F3_2b1a5);
		contentValues.put("f3_2b1a6",PLIK_F3_2b1a6);
		contentValues.put("f3_2b1b1",PLIK_F3_2b1b1);
		contentValues.put("f3_2b1b2",PLIK_F3_2b1b2);
		contentValues.put("f3_2b1b3",PLIK_F3_2b1b3);
		contentValues.put("f3_2b1b4",PLIK_F3_2b1b4);
		contentValues.put("f3_2b1b5",PLIK_F3_2b1b5);
		contentValues.put("f3_2b1b6",PLIK_F3_2b1b6);
		contentValues.put("f3_2b21",PLIK_F3_2b21);
		contentValues.put("f3_2b22",PLIK_F3_2b22);
		contentValues.put("f3_2b23",PLIK_F3_2b23);
		contentValues.put("f3_2b24",PLIK_F3_2b24);
		contentValues.put("f3_2b25",PLIK_F3_2b25);
		contentValues.put("f3_2b26",PLIK_F3_2b26);
		contentValues.put("f3_2b31",PLIK_F3_2b31);
		contentValues.put("f3_2b32",PLIK_F3_2b32);
		contentValues.put("f3_2b33",PLIK_F3_2b33);
		contentValues.put("f3_2b34",PLIK_F3_2b34);
		contentValues.put("f3_2b35",PLIK_F3_2b35);
		contentValues.put("f3_2b36",PLIK_F3_2b36);
		contentValues.put("f3_2c11",PLIK_F3_2c11);
		contentValues.put("f3_2c12",PLIK_F3_2c12);
		contentValues.put("f3_2c13",PLIK_F3_2c13);
		contentValues.put("f3_2c14",PLIK_F3_2c14);
		contentValues.put("f3_2c15",PLIK_F3_2c15);
		contentValues.put("f3_2c16",PLIK_F3_2c16);
		contentValues.put("f3_2c21",PLIK_F3_2c21);
		contentValues.put("f3_2c22",PLIK_F3_2c22);
		contentValues.put("f3_2c23",PLIK_F3_2c23);
		contentValues.put("f3_2c24",PLIK_F3_2c24);
		contentValues.put("f3_2c25",PLIK_F3_2c25);
		contentValues.put("f3_2c26",PLIK_F3_2c26);
		contentValues.put("f3_2c31",PLIK_F3_2c31);
		contentValues.put("f3_2c32",PLIK_F3_2c32);
		contentValues.put("f3_2c33",PLIK_F3_2c33);
		contentValues.put("f3_2c34",PLIK_F3_2c34);
		contentValues.put("f3_2c35",PLIK_F3_2c35);
		contentValues.put("f3_2c36",PLIK_F3_2c36);
		contentValues.put("f3_2c41",PLIK_F3_2c41);
		contentValues.put("f3_2c42",PLIK_F3_2c42);
		contentValues.put("f3_2c43",PLIK_F3_2c43);
		contentValues.put("f3_2c44",PLIK_F3_2c44);
		contentValues.put("f3_2c45",PLIK_F3_2c45);
		contentValues.put("f3_2c46",PLIK_F3_2c46);
		contentValues.put("f3_2c51",PLIK_F3_2c51);
		contentValues.put("f3_2c52",PLIK_F3_2c52);
		contentValues.put("f3_2c53",PLIK_F3_2c53);
		contentValues.put("f3_2c54",PLIK_F3_2c54);
		contentValues.put("f3_2c55",PLIK_F3_2c55);
		contentValues.put("f3_2c56",PLIK_F3_2c56);
		contentValues.put("f3_2c61",PLIK_F3_2c61);
		contentValues.put("f3_2c62",PLIK_F3_2c62);
		contentValues.put("f3_2c63",PLIK_F3_2c63);
		contentValues.put("f3_2c64",PLIK_F3_2c64);
		contentValues.put("f3_2c65",PLIK_F3_2c65);
		contentValues.put("f3_2c66",PLIK_F3_2c66);
		contentValues.put("f3_2c71",PLIK_F3_2c71);
		contentValues.put("f3_2c72",PLIK_F3_2c72);
		contentValues.put("f3_2c73",PLIK_F3_2c73);
		contentValues.put("f3_2c74",PLIK_F3_2c74);
		contentValues.put("f3_2c75",PLIK_F3_2c75);
		contentValues.put("f3_2c76",PLIK_F3_2c76);
		contentValues.put("f3_3",PLIK_F3_3);
		contentValues.put("f3_4",PLIK_F3_4);
		contentValues.put("f3_5a",PLIK_F3_5a);
		contentValues.put("f3_5b",PLIK_F3_5b);
		contentValues.put("f3_5c",PLIK_F3_5c);
		contentValues.put("f3_5d",PLIK_F3_5d);
		contentValues.put("f3_6",PLIK_F3_6);
		contentValues.put("f3_7a",PLIK_F3_7a);
		contentValues.put("f3_7b",PLIK_F3_7b);
		contentValues.put("f3_8",PLIK_F3_8);
		contentValues.put("f3_9",PLIK_F3_9);
		contentValues.put("f3_10",PLIK_F3_10);
		contentValues.put("f3_11a",PLIK_F3_11a);
		contentValues.put("f3_11b",PLIK_F3_11b);
		contentValues.put("f3_11c",PLIK_F3_11c);
		contentValues.put("f3_11d",PLIK_F3_11d);
		contentValues.put("f3_11e",PLIK_F3_11e);
		contentValues.put("f3_12",PLIK_F3_12);
		contentValues.put("f3_13a",PLIK_F3_13a);
		contentValues.put("f3_13b",PLIK_F3_13b);
		contentValues.put("f3_13c",PLIK_F3_13c);
		contentValues.put("f3_14a",PLIK_F3_14a);
		contentValues.put("f3_14b",PLIK_F3_14b);
		contentValues.put("f3_14c",PLIK_F3_14c);
		contentValues.put("f3_14d",PLIK_F3_14d);
		contentValues.put("f4_1",PLIK_F4_1);
		contentValues.put("f4_2aa",PLIK_F4_2aa);
		contentValues.put("f4_2ab",PLIK_F4_2ab);
		contentValues.put("f4_2ac",PLIK_F4_2ac);
		contentValues.put("f4_2ad",PLIK_F4_2ad);
		contentValues.put("f4_2ae",PLIK_F4_2ae);
		contentValues.put("f4_2af",PLIK_F4_2af);
		contentValues.put("f4_2ag",PLIK_F4_2ag);
		contentValues.put("f4_2b",PLIK_F4_2b);
		contentValues.put("f4_3",PLIK_F4_3);
		contentValues.put("f4_4",PLIK_F4_4);
		contentValues.put("f4_5",PLIK_F4_5);
		contentValues.put("f4_6",PLIK_F4_6);
		contentValues.put("f4_7",PLIK_F4_7);
		contentValues.put("f4_8",PLIK_F4_8);
		contentValues.put("f4_9",PLIK_F4_9);
		contentValues.put("f4_10",PLIK_F4_10);
		contentValues.put("f4_11",PLIK_F4_11);
		contentValues.put("f4_12a",PLIK_F4_12a);
		contentValues.put("f4_12b",PLIK_F4_12b);
		contentValues.put("f4_12c",PLIK_F4_12c);
		contentValues.put("f4_13",PLIK_F4_13);
		contentValues.put("f4_14a",PLIK_F4_14a);
		contentValues.put("f4_14b",PLIK_F4_14b);
		contentValues.put("f4_15a",PLIK_F4_15a);
		contentValues.put("f4_15b",PLIK_F4_15b);
		contentValues.put("f4_16",PLIK_F4_16);
		contentValues.put("f4_17a",PLIK_F4_17a);
		contentValues.put("f4_17b",PLIK_F4_17b);
		contentValues.put("f4_18",PLIK_F4_18);
		contentValues.put("f4_19",PLIK_F4_19);
		contentValues.put("f4_20",PLIK_F4_20);
		contentValues.put("f4_21aa",PLIK_F4_21aa);
		contentValues.put("f4_21ab",PLIK_F4_21ab);
		contentValues.put("f4_21ac",PLIK_F4_21ac);
		contentValues.put("f4_21ad",PLIK_F4_21ad);
		contentValues.put("f4_21b",PLIK_F4_21b);
		contentValues.put("f4_22",PLIK_F4_22);
		contentValues.put("f4_23a",PLIK_F4_23a);
		contentValues.put("f4_23b",PLIK_F4_23b);
		contentValues.put("f4_23c",PLIK_F4_23c);
		contentValues.put("f4_23d",PLIK_F4_23d);
		contentValues.put("f4_23e",PLIK_F4_23e);
		contentValues.put("f4_23f",PLIK_F4_23f);
		return sqLiteDatabase.insert(MYDATABASE_TABLE, null, contentValues);
	}
	
	public int deleteAll(){
		return sqLiteDatabase.delete(MYDATABASE_TABLE, null, null);
	}

	
	public class SQLiteHelper extends SQLiteOpenHelper 
	{

		public SQLiteHelper(Context context, String name,
				CursorFactory factory, int version) 
		{
			super(context, name, factory, version);
		}

		@Override
		public void onCreate(SQLiteDatabase db)
		{
			db.execSQL(SCRIPT_CREATE_DATABASE);
		}

		@Override
		public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) 
		{

		}

	}
	public long updatedetails(int pos, String PLIK_F5_1,String PLIK_F5_2,String PLIK_F5_3,String PLIK_F5_4,String PLIK_F5_5a,String PLIK_F5_5b,String PLIK_F5_5c,	String PLIK_F5_5d,String PLIK_F5_6,String PLIK_F5_7a,String PLIK_F5_7b,String PLIK_F5_8,String PLIK_F5_9a,String PLIK_F5_9b,String PLIK_F5_9c,String PLIK_F5_9d,String PLIK_F5_10,String PLIK_F5_11,String PLIK_F5_12,String PLIK_F5_13a,String PLIK_F5_13b,String PLIK_F5_13c,String PLIK_F5_13d,String PLIK_F5_13e,String PLIK_F5_13f,String PLIK_F5_13g,String PLIK_F5_13h,String PLIK_F5_13i,String PLIK_F5_13j,String PLIK_F5_13k,String PLIK_F5_13l,String PLIK_F5_13m,String PLIK_F5_13n,
			String PLIK_F6_1a,String PLIK_F6_1b,String PLIK_F6_2a,String PLIK_F6_2b,String PLIK_F6_3,
			String PLIK_F7_1,String PLIK_F7_2a,String PLIK_F7_2b,String PLIK_F7_3a,String PLIK_F7_3b,String PLIK_F7_3c,String PLIK_F7_3d,String PLIK_F7_3e,String PLIK_F7_3f,
			String PLIK_F8_1,String PLIK_F8_2,String PLIK_F8_3,String PLIK_F8_4,String PLIK_F8_5,String PLIK_F8_6,String PLIK_F8_7,String PLIK_F8_8,String PLIK_F8_YEAR)
    {
		String strFilter = "_id=" + pos;
ContentValues contentValues = new ContentValues();
		
		contentValues.put("f5_1",PLIK_F5_1);
		contentValues.put("f5_2",PLIK_F5_2);
		contentValues.put("f5_3",PLIK_F5_3);
		contentValues.put("f5_4",PLIK_F5_4);
		contentValues.put("f5_5a",PLIK_F5_5a);
		contentValues.put("f5_5b",PLIK_F5_5b);
		contentValues.put("f5_5c",PLIK_F5_5c);
		contentValues.put("f5_5d",PLIK_F5_5d);
		contentValues.put("f5_6",PLIK_F5_6);
		contentValues.put("f5_7a",PLIK_F5_7a);
		contentValues.put("f5_7b",PLIK_F5_7b);
		contentValues.put("f5_8",PLIK_F5_8);
		contentValues.put("f5_9a",PLIK_F5_9a);
		contentValues.put("f5_9b",PLIK_F5_9b);
		contentValues.put("f5_9c",PLIK_F5_9c);
		contentValues.put("f5_9d",PLIK_F5_9d);
		contentValues.put("f5_10",PLIK_F5_10);
		contentValues.put("f5_11",PLIK_F5_11);
		contentValues.put("f5_12",PLIK_F5_12);
		contentValues.put("f5_13a",PLIK_F5_13a);
		contentValues.put("f5_13b",PLIK_F5_13b);
		contentValues.put("f5_13c",PLIK_F5_13c);
		contentValues.put("f5_13d",PLIK_F5_13d);
		contentValues.put("f5_13e",PLIK_F5_13e);
		contentValues.put("f5_13f",PLIK_F5_13f);
		contentValues.put("f5_13g",PLIK_F5_13g);
		contentValues.put("f5_13h",PLIK_F5_13h);
		contentValues.put("f5_13i",PLIK_F5_13i);
		contentValues.put("f5_13j",PLIK_F5_13j);
		contentValues.put("f5_13k",PLIK_F5_13k);
		contentValues.put("f5_13l",PLIK_F5_13l);
		contentValues.put("f5_13m",PLIK_F5_13m);
		contentValues.put("f5_13n",PLIK_F5_13n);
		contentValues.put("f6_1a",PLIK_F6_1a);
		contentValues.put("f6_1b",PLIK_F6_1b);
		contentValues.put("f6_2a",PLIK_F6_2a);
		contentValues.put("f6_2b",PLIK_F6_2b);
		contentValues.put("f6_3",PLIK_F6_3);
		contentValues.put("f7_1",PLIK_F7_1);
		contentValues.put("f7_2a",PLIK_F7_2a);
		contentValues.put("f7_2b",PLIK_F7_2b);
		contentValues.put("f7_3a",PLIK_F7_3a);
		contentValues.put("f7_3b",PLIK_F7_3b);
		contentValues.put("f7_3c",PLIK_F7_3c);
		contentValues.put("f7_3d",PLIK_F7_3d);
		contentValues.put("f7_3e",PLIK_F7_3e);
		contentValues.put("f7_3f",PLIK_F7_3f);
		contentValues.put("f8_1",PLIK_F8_1);
		contentValues.put("f8_2",PLIK_F8_2);
		contentValues.put("f8_3",PLIK_F8_3);
		contentValues.put("f8_4",PLIK_F8_4);
		contentValues.put("f8_5",PLIK_F8_5);
		contentValues.put("f8_6",PLIK_F8_6);
		contentValues.put("f8_7",PLIK_F8_7);
		contentValues.put("f8_8",PLIK_F8_8);  
		contentValues.put("f8_year",PLIK_F8_YEAR);       
    return sqLiteDatabase.update(MYDATABASE_TABLE, contentValues, strFilter, null);
	
   }
	
	public int getRowCount() {
		String countQuery = "SELECT  * FROM " + MYDATABASE_TABLE ;
		Cursor cursor = sqLiteDatabase.rawQuery(countQuery, null);
		int rowCount = cursor.getCount();
		sqLiteDatabase.close();
		cursor.close();
		return rowCount;
	}
	
	public Cursor queue()
	{
	
		Cursor cursor = sqLiteDatabase.rawQuery("select * from plik",null);
		
		return cursor;
	}
//	SELECT last_insert_rowid();
	public int getRowId() {
		String query = "SELECT _id from plik order by _id DESC limit 1";
		Cursor c = sqLiteDatabase.rawQuery(query,null);
		if (c != null && c.moveToFirst()) {
		    int lastId = Integer.parseInt(""+c.getLong(0)); 
		    return lastId;//The 0 is the column index, we only have 1 column, so the index is 0
		}
		return 0;
	}
}
